package com.emode.service.impl;


import org.springframework.transaction.annotation.Transactional;

import com.emode.base.BaseDaoImpl;
import com.emode.entity.Bbssection;
import com.emode.service.SectionService;
public class SectionServiceImpl extends BaseDaoImpl<Bbssection> implements SectionService{
	
	@Override
	@Transactional
	public void update2(Bbssection section) {
		String hql = "update Bbssection s set s.bbsusers=?, s.sname=?,s.sprofile=? where s.sid=?";
		updateObj(hql,new Object[]{section.getBbsusers(),section.getSname(),section.getSprofile(),section.getSid()});
	}

	@Override
	public void updateTcount(Bbssection section) {
		// TODO Auto-generated method stub
		
	}
}
